package com.yjc.hire.server.service;

import com.yjc.bo.DataDictionaryBO;
import com.yjc.hire.grace.result.PageGridResult;
import com.yjc.pojo.DataDictionary;

import java.util.List;

/**
 * </p>
 *
 * @author jcyin
 * @since 2025/8/9
 * </p>
 */
public interface DataDictionaryService {
    void createOrUpdateDataDict(DataDictionaryBO dataDictionaryBO);

    public PageGridResult<List<DataDictionary>> pageDataDictionary(String typeName,String itemValue,
                                                                   Integer page,Integer limit);
    public DataDictionary getDataDictionaryById(String dictId);

    public void deleteDataDictionaryById(String dictId);

    public List<DataDictionary> getDataDictionaryByType(String typeCode);

    public List<DataDictionary> getItemsByKeys(String... keys);
}
